package model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Text;
@SuppressWarnings("serial")
@PersistenceCapable
public class Domain implements Serializable{
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	@PrimaryKey
	private String name;
	@Persistent
	private Text wotTrust;
	@Persistent
	private Text wotVendor;
	@Persistent
	private Text wotPrivacy;
	@Persistent
	private Text wotChild;
	@Persistent
	private int alexa;
	@Persistent
	private Text google;
	@Persistent
	private String ip;
	@Persistent
	private Text speedSite;
	@Persistent
	private Text ageDomain;
	@Persistent
	private Text charset;
	@Persistent
	private Text language;
	@Persistent
	private Text server;
	@Persistent
	private Text jsLib;
	@Persistent
	private Text whois;
	@Persistent
	private Text whoisIp;
	@Persistent
	private Text title;
	@Persistent
	private Text description;
	@Persistent
	private Text keyword;
	@Persistent
	private String domain;
	@Persistent
	private String adsend;
	@Persistent
	private String analytics;
	@Persistent
	private Text visit;
	@Persistent
	private Text outlink;
	@Persistent
	private Date update=new Date();
	public Date getUpdate() {
		return update;
	}
	public void setUpdate(Date update) {
		this.update = update;
	}
	@Persistent
	private Text lastUpdate= new Text(String.valueOf(new Date().getTime()));
	public Text getLastUpdate() {
		return lastUpdate;
	}
	public void setLastUpdate(Text lastUpdate) {
		this.lastUpdate = lastUpdate;
	}
	@Persistent
	private ArrayList<String> nearSite = new ArrayList<String>();
	public ArrayList<String> getNearSite() {
		return nearSite;
	}
	public void setNearSite(ArrayList<String> nearSite) {
		this.nearSite = nearSite;
	}
	public Text getOutlink() {
		return outlink;
	}
	public void setOutlink(Text outlink) {
		this.outlink = outlink;
	}
	public String getDomain() {
		return domain;
	}
	public void setDomain(String domain) {
		this.domain = domain;
	}
	public String getAdsend() {
		return adsend;
	}
	public void setAdsend(String adsend) {
		this.adsend = adsend;
	}
	public String getAnalytics() {
		return analytics;
	}
	public void setAnalytics(String analytics) {
		this.analytics = analytics;
	}
	public Text getVisit() {
		return visit;
	}
	public void setVisit(Text visit) {
		this.visit = visit;
	}
	public Text getTitle() {
		return title;
	}
	public void setTitle(Text title) {
		this.title = title;
	}
	public Text getDescription() {
		return description;
	}
	public void setDescription(Text description) {
		this.description = description;
	}
	public Text getKeyword() {
		return keyword;
	}
	public void setKeyword(Text keyword) {
		this.keyword = keyword;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Text getWotTrust() {
		return wotTrust;
	}
	public void setWotTrust(Text wotTrust) {
		this.wotTrust = wotTrust;
	}
	public Text getWotVendor() {
		return wotVendor;
	}
	public void setWotVendor(Text wotVendor) {
		this.wotVendor = wotVendor;
	}
	public Text getWotPrivacy() {
		return wotPrivacy;
	}
	public void setWotPrivacy(Text wotPrivacy) {
		this.wotPrivacy = wotPrivacy;
	}
	public Text getWotChild() {
		return wotChild;
	}
	public void setWotChild(Text wotChild) {
		this.wotChild = wotChild;
	}
	public int getAlexa() {
		return alexa;
	}
	public void setAlexa(int alexa) {
		this.alexa = alexa;
	}
	public Text getGoogle() {
		return google;
	}
	public void setGoogle(Text google) {
		this.google = google;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public Text getSpeedSite() {
		return speedSite;
	}
	public void setSpeedSite(Text speedSite) {
		this.speedSite = speedSite;
	}
	public Text getAgeDomain() {
		return ageDomain;
	}
	public void setAgeDomain(Text ageDomain) {
		this.ageDomain = ageDomain;
	}
	public Text getCharset() {
		return charset;
	}
	public void setCharset(Text charset) {
		this.charset = charset;
	}
	public Text getLanguage() {
		return language;
	}
	public void setLanguage(Text language) {
		this.language = language;
	}
	public Text getServer() {
		return server;
	}
	public void setServer(Text server) {
		this.server = server;
	}
	public Text getJsLib() {
		return jsLib;
	}
	public void setJsLib(Text jsLib) {
		this.jsLib = jsLib;
	}
	public Text getWhois() {
		return whois;
	}
	public void setWhois(Text whois) {
		this.whois = whois;
	}
	public Text getWhoisIp() {
		return whoisIp;
	}
	public void setWhoisIp(Text whoisIp) {
		this.whoisIp = whoisIp;
	}
}
